package com.situ.mall.base.vo;

import com.situ.mall.base.util.C;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: SubCategoryVO
 * Package: com.situ.mall.order.vo
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-03-20 11:25
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SubCategoryVO {

    private Integer id;
    private String name;
    private String imgPath;

    public String getImgPath() {
        return C.UPLOAD_PATH_PREFIX + imgPath;
    }

}
